home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
workbench werkzeuge
/
bildschirmschoner
/
bserver_v1.5
/
sources.lha
/
Sources
/
include
/
client_pragmas.h
next >
Wrap
C/C++ Source or Header
|
1995-11-08
|
3KB
|
70 lines
#ifndef CLIENT_PRAGMAS_H
#define CLIENT_PRAGMAS_H
/* Prototypes of the shared library */
/* Private functions */
BOOL __SendClientMsg( ULONG, struct MsgPort * );
ULONG __GetServerCommand( struct MsgPort * );
ULONG __WaitServerCommand( struct MsgPort * );
struct DisplayIDInformation * __OpenCommunication( struct MsgPort ** );
/* Public functions */
BOOL CheckAA( void );
struct Screen *CloneFrontmostScreen( UBYTE );
struct Screen *GetDeeperFrontmostScreen( UBYTE, UBYTE );
Sound * Open8SVX( char * );
void Close8SVX( Sound * );
void Play8SVX( Sound *, UBYTE );
void PlayAsynch8SVX( Sound *, UBYTE );
ULONG DarkestColorIndex( struct Screen * );
ULONG BrightestColorIndex( struct Screen * );
Module * OpenModule( char * );
void InitModule( Module * );
BOOL PlayModule( Module * );
void StopModule( Module * );
void FreeModule( Module * );
BOOL Decrunch30( UBYTE *, UWORD * );
char * GetArgString( char *, char *, char * );
int GetArgInt( char *, char *, int * );
char *GetEquilizers( Module * );
extern struct Library *ClientBase;
#pragma libcall ClientBase __SendClientMsg 1e 9002
#pragma libcall ClientBase __GetServerCommand 24 901
#pragma libcall ClientBase __WaitServerCommand 2a 901
#pragma libcall ClientBase __OpenCommunication 30 901
#pragma libcall ClientBase CheckAA 36 0
#pragma libcall ClientBase CloneFrontmostScreen 3c 001
#pragma libcall ClientBase Open8SVX 42 901
#pragma libcall ClientBase Close8SVX 48 901
#pragma libcall ClientBase Play8SVX 4e 0902
#pragma libcall ClientBase PlayAsynch8SVX 54 0902
#pragma libcall ClientBase GetDeeperFrontmostScreen 5a 1002
#pragma libcall ClientBase DarkestColorIndex 60 901
#pragma libcall ClientBase BrightestColorIndex 66 901
#pragma libcall ClientBase __SpritesOff 6c 0
#pragma libcall ClientBase __SpritesOn 72 901
#pragma libcall ClientBase OpenModule 6c 901
#pragma libcall ClientBase InitModule 72 901
#pragma libcall ClientBase PlayModule 78 901
#pragma libcall ClientBase StopModule 7e 901
#pragma libcall ClientBase FreeModule 84 901
#pragma libcall ClientBase Decrunch30 8a 9802
#pragma libcall ClientBase GetArgString 90 09803
#pragma libcall ClientBase GetArgInt 96 09803
#pragma libcall ClientBase GetEquilizers 9c 901
/* Prototypes of the linked library */
BOOL __asm __saveds SendClientMsg( register __d0 ULONG );
ULONG __asm __saveds GetServerCommand( void );
ULONG __asm __saveds WaitServerCommand( void );
struct DisplayIDInformation *__asm __saveds OpenCommunication( void );
void __asm __saveds CloseCommunication( register __a1 struct DisplayIDInformation * );
void __asm __saveds SpritesOff( void );
void __asm __saveds SpritesOn( void );
#endif